package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 维修任务
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "repair_maint_tasks")
public class MaintTasks implements Serializable {

    @TableId
    private Long id;

    /**
     * 维修单ID
     */
    @TableField(value = "maint_rpt_id")
    private Long maintRptId;

    /**
     * 维修员id
     */
    @TableField(value = "maint_user_id")
    private Long maintUserId;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 状态 1:立即接单 2:无法接单 3:到达报修点 4:维修完成
     */
    @TableField(value = "status")
    private Byte status;


    private static final long serialVersionUID = 1L;
}